package com.pet.web.controller.tool;

import com.pet.common.core.controller.BaseController;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * swagger 接口
 *
 * @author pet
 */
@RestController
@RequestMapping("/tool/swagger")
public class SwaggerController extends BaseController {
    //@PreAuthorize("@ss.hasPermi('tool:swagger:view')")
    @GetMapping()
    public String index() {
        return redirect("/swagger-ui.html");
    }
}
